package com.etone.smartAudit.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.etone.smartAudit.domain.DataMetaConf;
import com.etone.smartAudit.vo.dataMetaTask.DataMetaTaskConfListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 张任豪
 * @create: 2022-04-07
 */
@Mapper
public interface DataMetaConfMapper extends BaseMapper<DataMetaConf> {

    /**
     * 查询自动入库列表
     * @param onlineState
     * @param taskName
     * @param cnTableName
     * @param level2Ids
     * @return
     */
    List<DataMetaTaskConfListVO> list(@Param("onlineState") String onlineState, @Param("taskName") String taskName,
                                      @Param("cnTableName") String cnTableName, @Param("level2Ids") List<Integer> level2Ids);

}